You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Tee Namespace > Classes > MtxVecTee Class > MtxVecTee Methods > DrawValues Method > MtxVecTee.DrawValues Method (TVec[], Steema.TeeChart.Styles.Series[], double, double, bool)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MtxVecTee.DrawValues Method (TVec[], Steema.TeeChart.Styles.Series[], double, double, bool)

Copy each of the vector in vectors array to separate series in series array.

Syntax
C#
Visual Basic
public static void DrawValues(TVec[] vectors, Steema.TeeChart.Styles.Series[] series, double xoffset, double xstep, bool pixeldownsample);
Parameters 
Description 
TVec[] vectors 
An array of vectors to be passed to series array. 
Steema.TeeChart.Styles.Series[] series 
An array of series to be used for plotting. 
double xoffset 
Starting x value for first y(x) value. 
double xstep 
Distance between consecutive x values. 
bool pixeldownsample 
If true, downsampling is performed on all vectors prior to plotting. 

Plot data coming from several instruments using one line of code.

using Dew.Math; using Dew.Math.Tee; tChart1.Series.Clear(); tChart1.Series.Add(typeof(Steema.TeeChart.Styles.Fastline)); tChart1.Series.Add(typeof(Steema.TeeChart.Styles.Fastline)); tChart1.Series.Add(typeof(Steema.TeeChart.Styles.Fastline)); Vector v1,v2,v3; // ... MtxVecTee.DrawValues(new Vector[] {v1,v2,v3},new Styles.Series[]{tChart[0],tChart[1],tChart[2]});
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!